import http from "@/utils/http";

export const getHomeBannerApi = () => http.get("/home/banner");

export const getCategoryListApi = () => http.get("/home/category/mutli");

export const getHotDataApi = () => http.get("/home/hot/mutli");

export const getHomeNew = (limit = 4) => {
  return http({ url: "/home/new", data: { limit } });
};

export const getGuessDataApi = (data) =>
  http.get("/home/goods/guessLike", data);
